<?php

class Comment extends AppModel {
    var $name = 'Comment';    
    var $belongsTo = array('Ticket' =>
			   array('className'    => 'Ticket',
				 'conditions'   => '',
				 'order'        => '',
				 'foreignKey'   => 'ticket_id'
				 )				 
			   );
    
    var $validate = array(
		'body' => array(
				'rule' => 'notEmpty'
				)
			  );
}

?>